<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>删除提示</title>
	<link rel="stylesheet" href="css/reset.css">
	<link rel="stylesheet" href="css/product.css">
</head>
<body style="background:#fff;">
	<div class="undercarriage">
		<p>是否确认删除？</p>
		<div class="undercarriage-btn">
			<button class="save-btn">确定</button>
		</div>
	</div>
	<script src="js/jquery-1.12.0.min.js"></script>
	<script>
	$('.save-btn').on('click',function(){
		var index = parent.layer.getFrameIndex(window.name); //获取窗口索引  
			console.log(index);
		//parent.layer.close(index);//关闭弹出的子页面窗口  
	});
		
	</script>
</body>
</html>